<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function countDown(){
            var nowDate = new Date();
            var jiaDate=new Date("2025-10-1 00:00:00")
            var time =jiaDate-nowDate
            time=time / 1000
            var d = parseInt(time / 60 / 60 / 24)
            d= d < 10 ? "0" + d : d
            var h=parseInt(time / 60/ 60 % 24)
            h=h< 10 ? "0"+h : h
            var m=parseInt(time / 60 % 60)
            m=m < 10 ? "0" + m : m
            document.write("<b>距离国庆：</b>"+d+"天"+h+"小时"+m+"分钟")  
        }
        countDown()
    </script>
</body>
</html>